package origami;

import java.util.LinkedList;
import java.util.List;

/**
 * Created by Tzachi on 06/11/2014.
 */
public class Node {
    public static enum Color {
        WHITE,
        GREY,
        BLACK
    }

    private final String guid;
    private final List<Node> children = new LinkedList<>();
    private Color color = Color.WHITE;

    public Node(String guid) {
        this.guid = guid;
    }

    public String getGuid() {
        return guid;
    }

    public List<Node> getChildren() {
        return children;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }
}
